projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05fc65d
)
wfff: Replace invalid waypoint allocation.
author
oliskoli
<oliskoli>
Tue, 26 Aug 2008 20:53:21 +0000
(20:53 +0000)
committer
oliskoli
<oliskoli>
Tue, 26 Aug 2008 20:53:21 +0000
(20:53 +0000)
wfff_xml.c
patch
|
blob
|
history
diff --git
a/wfff_xml.c
b/wfff_xml.c
index 4259cdca4d6dbc1b09abbe8e5d86877df47503fc..ffa4bb6ac1e988ec7a936a58f8c62895b1ef5c8a 100644
(file)
--- a/
wfff_xml.c
+++ b/
wfff_xml.c
@@
-192,7
+192,7
@@
void wfff_e(const char *args, const char **unused)
if ((ap_hdop>=1)&&(ap_hdop<50)) // Discard invalid GPS fix
{
- wpt_tmp =
xcalloc(sizeof(*wpt_tmp), 1
);
+ wpt_tmp =
waypt_new(
);
if ( snmac ) {
wpt_tmp->shortname = xstrdup(ap_mac);